package cn.itcast.mybatis.demo5;

public class Person extends SuperChouyigen implements SuperChouyigenInterface{

	public void eat(){
		System.out.println("开始吃饭");
		//通过改造代码，来实现我们增强的功能更
		//System.out.println("吃完饭抽一根");
	//	chouyigen();
	//	superChouyigen();
		chouyigenInter();
	}
	
	public void chouyigen(){
		System.out.println("抽一根");
	}

	@Override
	public void chouyigenInter(){
		//System.out.println("抽一根");
		System.out.println("抽三根");
		
	}
	
	
	

}
